.ameng-popup {
  position: fixed;
  z-index: 500;
  bottom: 0;

  .ameng-mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    display: block;
    width: 100%;
    height: 100%;
  }
  .ameng-popup-body {
    box-sizing: border-box;
    padding: 16px 16px;
    // min-height: 40vh;
    width: 100%;
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 510;
    background-color: var(--modal-mian-bg);
    // background-color: #232733;
    background-size: 100%;
    transform: translate3d(0, 100%, 0);
    // -webkit-backface-visibility:hidden; /* 防止闪烁 */
    // backface-visibility:hidden; /* 防止闪烁 */
  }
  &.show {
    .ameng-mask {
      display: block;
    }
    .ameng-popup-body {
      transition: transform 0.2s linear;
      transform: translate3d(0, 0%, 0);
    }
  }
  &.hidden {
    .ameng-mask {
      display: none;
    }
    .ameng-popup-body {
      transition: transform 0.2s linear;
      transform: translate3d(0, 100%, 0);
    }
  }
}
